<?php
$user = 'longe10_haiweiya';
$pass = '1988sink';
try {
    $dbh = new PDO('mysql:host=127.0.0.1;dbname=doubanxia', $user, $pass);
    
} catch (PDOException $e) {
    print "Error!: " . $e->getMessage() . "<br/>";
    die();
}
?>